/*
 * @description: 功能
 * @author: Yoke
 * @Date: 2024-03-10 14:11:02
 */
import { createRouter, createWebHistory } from "vue-router";

const routes = [
  {
    path: "/",
    name: "home",
    component: () => import("../pages/Renting.vue"),
  },
  {
    path: "/renren-rent",
    name: "renren-rent",
    component: () => import("../pages/RenrenRent.vue"),
  },
  {
    path: "/plane",
    name: "plane",
    component: () => import("../pages/RentingMachineHall.vue"),
  },
  // {
  //     path: "/renting",
  //     name: "renting",
  //     component: () => import("../pages/RentingPlane.vue")
  // },
  // {
  //     path: "/renting-superfluous",
  //     name: "renting-superfluous",
  //     component: () => import("../pages/RentingSuperfluous.vue")
  // },
  {
    path: "/plane_superfluous",
    name: "plane-superfluous",
    component: () => import("../pages/Plane.vue"),
  },
  {
    path: "/payment",
    name: "payment",
    component: () => import("../pages/Payment.vue"),
  },
];

export default createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: routes,
});
